home *** CD-ROM | disk | FTP | other *** search
- ;RIAnim library test program
- ;By Stephen McNamar
-
-
- ;Please insert the name of your animation here!
- fil$=""
- suc.l=BLoad(fil$,0) ; Command from FUNC-library
-
- BitMap 0,320,256,6
- BitMap 1,320,256,6
-
- Use BitMap 0
- BitMapOutput 0
-
- hasanim.l=RIAnimInit(Start(0),0,0,ADDValue(0,0,0))
- If hasanim=0
- DefaultOutput
- NPrint "Buggeration"
- MouseWait
- End
- EndIf
-
- CopyBitMap 0,1
-
- VWait 10
- BLITZ
- InitCopList 0,44,256,$10006,0,32,0
- DisplayBitMap 0,0
- DisplayPalette 0,0
- CreateDisplay 0
-
- Use BitMap 0 : BitMapOutput 0
- dbuffer.b=1
-
- AnimLoop On
-
- If hasanim
- Repeat
- BitMapOutput dbuffer
- RINextAnimFrame dbuffer
- DisplayBitMap 0,dbuffer
- dbuffer=1-dbuffer
- VWait
- Until Joyb(0)
- EndIf
- End
-
-